package com.ruoyi.quartz.mapper;

import java.util.List;
import com.ruoyi.quartz.domain.LotTicketType;
import com.ruoyi.quartz.domain.LotTicket;

/**
 * tolTypeMapper接口
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public interface LotTicketTypeMapper 
{
    /**
     * 查询tolType
     * 
     * @param ticketTypeId tolType主键
     * @return tolType
     */
    public LotTicketType selectLotTicketTypeByTicketTypeId(Long ticketTypeId);

    /**
     * 查询tolType列表
     * 
     * @param lotTicketType tolType
     * @return tolType集合
     */
    public List<LotTicketType> selectLotTicketTypeList(LotTicketType lotTicketType);

    /**
     * 新增tolType
     * 
     * @param lotTicketType tolType
     * @return 结果
     */
    public int insertLotTicketType(LotTicketType lotTicketType);

    /**
     * 修改tolType
     * 
     * @param lotTicketType tolType
     * @return 结果
     */
    public int updateLotTicketType(LotTicketType lotTicketType);

    /**
     * 删除tolType
     * 
     * @param ticketTypeId tolType主键
     * @return 结果
     */
    public int deleteLotTicketTypeByTicketTypeId(Long ticketTypeId);

    /**
     * 批量删除tolType
     * 
     * @param ticketTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLotTicketTypeByTicketTypeIds(Long[] ticketTypeIds);

    /**
     * 批量删除彩票信息
     * 
     * @param ticketTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLotTicketByTicketTypeIds(Long[] ticketTypeIds);
    
    /**
     * 批量新增彩票信息
     * 
     * @param lotTicketList 彩票信息列表
     * @return 结果
     */
    public int batchLotTicket(List<LotTicket> lotTicketList);
    

    /**
     * 通过tolType主键删除彩票信息信息
     * 
     * @param ticketTypeId tolTypeID
     * @return 结果
     */
    public int deleteLotTicketByTicketTypeId(Long ticketTypeId);
}
